{template "content","header"}

<div class="container">
	<div class="left">
                {pc:content  action="position" posid="1" order="listorder DESC" num="4"}
                    <div class="article_column">
                            <div class="article_column_title"><div class="article_column_more"><a href="{$data['category']['url']}">查看更多</a>&nbsp;</div>{$data['category']['catname']}</div>
                            <div class="article_column_list">
                            
                                {loop $data['datas'] $r}
                                <li><span>{date('Y-m-d',$r['inputtime'])}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],52,'')}</a></li>
                              {/loop}  

                            </div>
                    </div>                
                {/pc}   	
                
                {pc:content  action="category_page" catid="10" order="" num="1"}
                    <div class="article_column" style="margin-left:15px">
                            <div class="article_column_title"><div class="article_column_more"><a href="{$data['category']['url']}">查看更多</a>&nbsp;</div>{$data['category']['catname']}</div>
                            <div class="article_column_list"><div class="profile_img"><img src="{$data['category']['image']}" alt="{$data['info']['keywords']}"></div>&nbsp; {str_cut(strip_tags($data['info']['content']),600)}<a href="{$data['category']['url']}" title="详细介绍"><font color="#3AA42A">[详细介绍]</font></a></div>
                    </div>
                {/pc} 
		
                {pc:content  action="category_product" catid="19" order="" num="20"}
		<div class="index_product_title"><div class="article_column_more"><a href="{$data['category']['url']}">查看更多</a>&nbsp;</div>{$data['category']['catname']}</div>
		<div class="index_product_list">
                    <div id="p_demo">
                        <div id="inp_demo">
                            <div id="p_demo1">
                                {loop $data['list'] $r}
                                    <div class="product_img">
                                        <span><a href="{$r[url]}" title="{$r[title]}" target="_blank"><img src="{$r[thumb]}" border="0" width="155" height="135"></a></span><br><a href="{$r[url]}" title="{$r[title]}">{$r[title]}</a>
                                    </div>
                                {/loop}
                                <div id="p_demo2"></div>
                            </div>
                        </div>
                    </div>

                </div>                
                
                {/pc} 

		
	</div><!--lef end-->
	<div class="right">
                {pc:content  action="category_page" catid="15" order="" num="1"}
                    <div class="right_box">
                            <div class="right_box_title">{$data['category']['catname']}</div>
                            <div class="right_box_pic"><img src="{$data['category']['image']}" alt="{$data['category']['catname']}"></div>
                            <div class="right_box_profile">{$data['info']['content']}
                            </div>
                    </div>                                   
                {/pc} 
                {pc:content  action="category_lists" catid="13" order="" num="4"}  
                 <div class="right_box" style="margin-top:15px;min-height:210px;">
                        <div class="right_box_title">{$data['category']['catname']}</div>
                        <div class="right_box_pic"><img src="{$data['category']['image']}" alt="{$data['category']['catname']}"></div>
                        <div class="right_box_list">
                            {loop $data['list'] $r}
                                <li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],52,'')}</a></li>
                            {/loop}  



                        </div>
                </div>

                {/pc} 		


	</div><!--right end-->
</div>

<div class="container">
        {pc:content  action="category_lists" catid="16" order="" num="7"}  
	<div class="article_down_box">
		<div class="article_down_title">{$data['category']['catname']}</div>
		<div class="article_down_img01" style="background-image: url('{$data[category][image]}')"></div>
		<div class="article_down_list">
                    {loop $data['list'] $r}
                        <li><span>{date('Y-m-d',$r['inputtime'])}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],52,'')}</a></li>
                    {/loop}  
		</div>
		<div class="article_down_more"><a href="{$data['category']['url']}" title="{$data['category']['catname']}">更多>></a></div>
	</div>
        {/pc} 	
        {pc:content  action="category_lists" catid="17" order="" num="7"}  
	<div class="article_down_box" style="margin-left:15px;">
		<div class="article_down_title">{$data['category']['catname']}</div>
		<div class="article_down_img01" style="background-image: url('{$data[category][image]}')"></div>
		<div class="article_down_list">
                    {loop $data['list'] $r}
                        <li><span>{date('Y-m-d',$r['inputtime'])}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],52,'')}</a></li>
                    {/loop}  
		</div>
		<div class="article_down_more"><a href="{$data['category']['url']}" title="{$data['category']['catname']}">更多>></a></div>
	</div>
        {/pc} 	
        {pc:content  action="category_lists" catid="18" order="" num="7"}  
	<div class="article_down_box" style="margin-left:15px;">
		<div class="article_down_title">{$data['category']['catname']}</div>
		<div class="article_down_img01" style="background-image: url('{$data[category][image]}')"></div>
		<div class="article_down_list">
                    {loop $data['list'] $r}
                        <li><span>{date('Y-m-d',$r['inputtime'])}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],52,'')}</a></li>
                    {/loop}  
		</div>
		<div class="article_down_more"><a href="{$data['category']['url']}" title="{$data['category']['catname']}">更多>></a></div>
	</div>
        {/pc} 	        

	
	
</div>

<div class="container">
	<div class="link">
            <span class="link_font">友情链接：</span><br>
            {pc:link  action="type_list" siteid="$siteid" linktype="0" order="listorder DESC" num="8" return="pic_link"}
            {loop $pic_link $v}
            <a href="{$v['url']}" target="_blank"  title="{$v['name']}">{$v['name']}</a>&nbsp;
            {/loop}
            {/pc}
	</div>
</div>
<script>
var speed=30;
var p_tab=document.getElementById("p_demo");
var p_tab1=document.getElementById("p_demo1");
var p_tab2=document.getElementById("p_demo2");
p_tab2.innerHTML=p_tab1.innerHTML;
function p_Marquee(){
    if(p_tab2.offsetWidth-p_tab.scrollLeft<=0){
        p_tab.scrollLeft-=p_tab1.offsetWidth;
    }else{
        p_tab.scrollLeft++;
    }
}
var p_MyMar=setInterval(p_Marquee,speed);
p_tab.onmouseover=function(){clearInterval(p_MyMar);};
p_tab.onmouseout=function() {p_MyMar=setInterval(p_Marquee,speed);};

</script>


{template "content","footer"}